package com.psw.monitor.geserialport.em;

/**
 * @author yangke3
 * @date Created at 2019-09-14
 */
public enum ChannelStatus {

    /**
     * 断开
     */
    OPEN("1", "断开"),

    /**
     * 报警
     */
    CLOSE("2", "闭合");

    private String code;

    private String desc;

    public String getCode() {
        return code;
    }

    ChannelStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
